home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
vista
/
makefile
next >
Wrap
Makefile
|
1992-02-25
|
1KB
|
44 lines
# Vista Header ----- 9 Sep 91 ---------------------------------------------
#+-------------------------------------------------------------------------+
#| Vista installation variables are defined in the top level directory, |
#| README file. They are defined here for piecewise compilation and |
#| development, but when Vista is installed they are overridden from |
#| from the above level. |
#+-------------------------------------------------------------------------+
VISTA_TOP = /sp2/user18/visualization/vista
V_BIN = ${VISTA_TOP}/bin
V_DATA = ${VISTA_TOP}/data
V_CC = cc
V_CFLAGS = -g -D_VFORK
V_FORTRAN= f77
V_FFLAGS = -g
V_LIB = ${VISTA_TOP}/lib
V_INC = ${VISTA_TOP}/include
X_CFLAGS = -D_NO_PROTO
X_LIB = -lXt -lX11 -lXmu
MOTIF_LIB= -lXm
MACHINE = SPARC
INSTALL_LIB = ${VISTA_TOP}/lib/libvista.a
MACROS = "VISTA_TOP=${VISTA_TOP}" "V_BIN=${V_BIN}" "V_DATA=${V_DATA}" \
"V_CFLAGS=${V_CFLAGS}" "V_LIB=${V_LIB}" "V_INC=${V_INC}" \
"MACHINE=${MACHINE}" "INSTALL_LIB=${INSTALL_LIB}"
XMACROS= "X_CFLAGS=${X_CFLAGS}" "X_LIB=${X_LIB}" "MOTIF_LIB=${MOTIF_LIB}"
MAKE = make
# End Header ---------------------------------------------------------------
all:
(cd src; ${MAKE} ${MACROS} all)
clean:
(cd src; ${MAKE} clean)
clean_all: clean
(cd ./lib; rm -f libvista.a libae.a libav.a libsocket.a libdd.a)
(cd ./bin; rm -f ae_dm vm_dm vista)
(cd src; ${MAKE} clean_all)